package  com.pcbly.web.business.user;
/**
* @author carl.song
* Copyright (c) 2010 Lightsoft, International.
* All rights reserved.
*
*/

import com.pcbly.web.bean.user.UserWorkExperienceBean;
import com.pcbly.web.business.BaseService;
import com.pcbly.web.components.hibernate.support.Page;

public interface UserWorkExperienceService extends BaseService<UserWorkExperienceBean> {

	UserWorkExperienceBean getUserWorkExperienceBeanById(String id) throws Exception;
	
	void removeUserWorkExperienceBeanById(String id) throws Exception;
	
	void removeUserWorkExperienceBeanByIds(String ids) throws Exception;
	
	UserWorkExperienceBean saveUserWorkExperienceBean(UserWorkExperienceBean user) throws Exception;
	
	UserWorkExperienceBean updateUserWorkExperienceBean(UserWorkExperienceBean user) throws Exception;
	
	Page<UserWorkExperienceBean>  findUserWorkExperienceBeanByCond(UserWorkExperienceBean bean,
			Page<UserWorkExperienceBean> page, String orderByName, boolean asc)
			throws Exception;
	void saveUserWorkExperienceBeanExt(String sql) throws Exception;

	String findUserWorkExperienceBeanExtCreate(String tableName) throws Exception;

	String findUserWorkExperienceBeanExtEdit(String tableName, String id)
			throws Exception;

	String findUserWorkExperienceBeanExtView(String tableName, String id)
			throws Exception;

	boolean getHasUserWorkExperienceBeanExtData(String tableName, String id)
			throws Exception;
}